<?php

/**
 * @Desc:
 * @author dasheng@baofu.com(大圣)
 * @datetime 2025/4/6 18:25
 */

namespace App\Service\baofu\Entity;

class PublicPostEntity implements \JsonSerializable
{
    public $version;
    public $platformNo;
    public $loginNo;
    public $accType;
    public $contractNo;
    public $optType;
    public $accInfo;
    public $requestNo;
    public $operationType;
    public $upperContractNo;

    public function jsonSerialize()
    {
        return array_filter((array)$this, function($v) {
            return $v !== null;
        });
        // TODO: Implement jsonSerialize() method.
    }
}
